home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
POINT Software Programming
/
PPROG1.ISO
/
pascal
/
swag
/
comm.swg
/
0019_Get number of RS232 Ports.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-08-18
|
252 b
|
10 lines
FUNCTION Serial_Ports : byte;
{ DESCRIPTION:
Gets the number of RS232 ports available in a system.
SAMPLE CALL:
NB := Serial_Ports; }
BEGIN { Serial_Ports }
Serial_Ports := (MemW[$0000:$0410] shl 4) shr 13;
END; { Serial_Ports }